package com.ssy.lingxi.member.merchant.api.model.vo.paas;

import java.io.Serializable;
import java.util.Map;

/**
 * 业务平台 - 菜单对外接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-06-15
 */
public class MenuVO implements Serializable {

    private static final long serialVersionUID = -730763086621510158L;

    public MenuVO() {
    }

    public MenuVO(Long id, Long parentId, Integer order, String title, String url, String code, Integer up, Integer source, Map<String, Object> attrs) {
        this.id = id;
        this.parentId = parentId;
        this.order = order;
        this.title = title;
        this.url = url;
        this.code = code;
        this.up = up;
        this.source = source;
        this.attrs = attrs;
    }

    private Long id;

    private Long parentId;

    private Integer order;

    private String title;

    private String url;

    private String code;

    private Integer up;

    private Integer source;

    private Map<String, Object> attrs;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getUp() {
        return up;
    }

    public void setUp(Integer up) {
        this.up = up;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }

    public Map<String, Object> getAttrs() {
        return attrs;
    }

    public void setAttrs(Map<String, Object> attrs) {
        this.attrs = attrs;
    }
}
